package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailPromotionExample;
import com.ymttest.database.sharding.db.sharding.model.OrderDetailPromotionPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDetailPromotionMapper {
    int countByExample(OrderDetailPromotionExample example);

    int deleteByExample(OrderDetailPromotionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderDetailPromotionPo record);

    int insertSelective(OrderDetailPromotionPo record);

    List<OrderDetailPromotionPo> selectByExample(OrderDetailPromotionExample example);

    OrderDetailPromotionPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderDetailPromotionPo record, @Param("example") OrderDetailPromotionExample example);

    int updateByExample(@Param("record") OrderDetailPromotionPo record, @Param("example") OrderDetailPromotionExample example);

    int updateByPrimaryKeySelective(OrderDetailPromotionPo record);

    int updateByPrimaryKey(OrderDetailPromotionPo record);
}